<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.7.1" version="1.0">
This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<lib desc="#Wiring" name="0">
    <tool name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
      <a name="appear" val="right"/>
    </tool>
    <tool name="Pin">
      <a name="facing" val="south"/>
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
    </tool>
    <tool name="Tunnel">
      <a name="width" val="4"/>
    </tool>
    <tool name="Constant">
      <a name="facing" val="south"/>
      <a name="value" val="0x0"/>
    </tool>
  </lib>
  <lib desc="#Gates" name="1">
    <tool name="AND Gate">
      <a name="facing" val="west"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </tool>
    <tool name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="3"/>
    </tool>
  </lib>
  <lib desc="#Plexers" name="2"/>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4"/>
  <lib desc="#I/O" name="5"/>
  <lib desc="#Base" name="6">
    <tool name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
  </lib>
  <main name="main"/>
  <options>
    <a name="gateUndefined" val="ignore"/>
    <a name="simlimit" val="1000"/>
    <a name="simrand" val="0"/>
  </options>
  <mappings>
    <tool lib="6" map="Button2" name="Menu Tool"/>
    <tool lib="6" map="Button3" name="Menu Tool"/>
    <tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
  </mappings>
  <toolbar>
    <tool lib="6" name="Poke Tool"/>
    <tool lib="6" name="Edit Tool"/>
    <tool lib="6" name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
    <sep/>
    <tool lib="0" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
    </tool>
    <tool lib="0" name="Pin">
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </tool>
    <tool lib="1" name="NOT Gate"/>
    <tool lib="1" name="AND Gate"/>
    <tool lib="1" name="OR Gate"/>
  </toolbar>
  <circuit name="main">
    <a name="circuit" val="main"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(340,210)" to="(400,210)"/>
    <wire from="(360,190)" to="(420,190)"/>
    <wire from="(130,370)" to="(130,380)"/>
    <wire from="(280,360)" to="(280,370)"/>
    <wire from="(180,290)" to="(290,290)"/>
    <wire from="(270,420)" to="(380,420)"/>
    <wire from="(250,170)" to="(250,190)"/>
    <wire from="(260,340)" to="(260,370)"/>
    <wire from="(190,200)" to="(230,200)"/>
    <wire from="(280,400)" to="(280,430)"/>
    <wire from="(330,380)" to="(370,380)"/>
    <wire from="(320,270)" to="(320,370)"/>
    <wire from="(290,440)" to="(310,440)"/>
    <wire from="(210,170)" to="(210,210)"/>
    <wire from="(310,270)" to="(310,310)"/>
    <wire from="(280,200)" to="(280,240)"/>
    <wire from="(140,340)" to="(140,390)"/>
    <wire from="(260,340)" to="(270,340)"/>
    <wire from="(350,110)" to="(360,110)"/>
    <wire from="(390,110)" to="(400,110)"/>
    <wire from="(300,180)" to="(300,240)"/>
    <wire from="(310,310)" to="(310,370)"/>
    <wire from="(300,300)" to="(300,370)"/>
    <wire from="(190,190)" to="(250,190)"/>
    <wire from="(210,210)" to="(270,210)"/>
    <wire from="(230,200)" to="(280,200)"/>
    <wire from="(270,400)" to="(270,420)"/>
    <wire from="(310,440)" to="(310,460)"/>
    <wire from="(360,170)" to="(360,190)"/>
    <wire from="(360,90)" to="(360,110)"/>
    <wire from="(400,90)" to="(400,110)"/>
    <wire from="(290,290)" to="(290,370)"/>
    <wire from="(300,270)" to="(300,300)"/>
    <wire from="(250,190)" to="(290,190)"/>
    <wire from="(380,200)" to="(420,200)"/>
    <wire from="(200,250)" to="(200,280)"/>
    <wire from="(130,360)" to="(160,360)"/>
    <wire from="(250,360)" to="(280,360)"/>
    <wire from="(270,180)" to="(300,180)"/>
    <wire from="(310,180)" to="(340,180)"/>
    <wire from="(130,380)" to="(130,420)"/>
    <wire from="(250,420)" to="(250,460)"/>
    <wire from="(400,170)" to="(400,210)"/>
    <wire from="(190,180)" to="(270,180)"/>
    <wire from="(180,110)" to="(190,110)"/>
    <wire from="(200,250)" to="(260,250)"/>
    <wire from="(180,400)" to="(180,410)"/>
    <wire from="(140,340)" to="(260,340)"/>
    <wire from="(180,300)" to="(300,300)"/>
    <wire from="(270,170)" to="(270,180)"/>
    <wire from="(290,270)" to="(290,290)"/>
    <wire from="(190,90)" to="(190,110)"/>
    <wire from="(270,210)" to="(270,240)"/>
    <wire from="(210,360)" to="(250,360)"/>
    <wire from="(320,190)" to="(360,190)"/>
    <wire from="(300,450)" to="(340,450)"/>
    <wire from="(230,170)" to="(230,200)"/>
    <wire from="(340,450)" to="(380,450)"/>
    <wire from="(130,370)" to="(160,370)"/>
    <wire from="(400,210)" to="(420,210)"/>
    <wire from="(140,390)" to="(160,390)"/>
    <wire from="(250,420)" to="(270,420)"/>
    <wire from="(440,220)" to="(450,220)"/>
    <wire from="(400,460)" to="(410,460)"/>
    <wire from="(160,220)" to="(170,220)"/>
    <wire from="(340,180)" to="(420,180)"/>
    <wire from="(250,110)" to="(260,110)"/>
    <wire from="(290,190)" to="(290,240)"/>
    <wire from="(300,400)" to="(300,450)"/>
    <wire from="(310,440)" to="(380,440)"/>
    <wire from="(130,360)" to="(130,370)"/>
    <wire from="(210,360)" to="(210,370)"/>
    <wire from="(250,360)" to="(250,370)"/>
    <wire from="(330,200)" to="(380,200)"/>
    <wire from="(340,170)" to="(340,180)"/>
    <wire from="(340,450)" to="(340,460)"/>
    <wire from="(260,90)" to="(260,110)"/>
    <wire from="(280,430)" to="(380,430)"/>
    <wire from="(270,340)" to="(270,370)"/>
    <wire from="(280,430)" to="(280,460)"/>
    <wire from="(340,210)" to="(340,240)"/>
    <wire from="(380,170)" to="(380,200)"/>
    <wire from="(130,380)" to="(160,380)"/>
    <wire from="(350,250)" to="(370,250)"/>
    <wire from="(290,400)" to="(290,440)"/>
    <wire from="(330,200)" to="(330,240)"/>
    <wire from="(120,340)" to="(140,340)"/>
    <wire from="(180,280)" to="(200,280)"/>
    <wire from="(190,210)" to="(210,210)"/>
    <wire from="(140,290)" to="(140,340)"/>
    <wire from="(140,290)" to="(150,290)"/>
    <wire from="(180,410)" to="(190,410)"/>
    <wire from="(320,190)" to="(320,240)"/>
    <wire from="(310,180)" to="(310,240)"/>
    <wire from="(180,310)" to="(310,310)"/>
    <comp lib="0" loc="(270,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(280,460)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(440,220)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
      <a name="appear" val="right"/>
      <a name="bit0" val="3"/>
      <a name="bit1" val="2"/>
      <a name="bit2" val="1"/>
      <a name="bit3" val="0"/>
    </comp>
    <comp lib="0" loc="(230,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(370,380)" name="Constant">
      <a name="facing" val="west"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(340,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(310,460)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(250,460)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(360,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(380,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="6" loc="(230,74)" name="Text">
      <a name="text" val="+"/>
      <a name="font" val="SansSerif plain 36"/>
    </comp>
    <comp lib="0" loc="(120,340)" name="Pin">
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="CN"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(190,410)" name="Tunnel">
      <a name="width" val="4"/>
      <a name="label" val="D"/>
    </comp>
    <comp lib="5" loc="(360,90)" name="Hex Digit Display"/>
    <comp loc="(180,280)" name="CORREGIR"/>
    <comp lib="0" loc="(370,250)" name="Constant">
      <a name="facing" val="west"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(210,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="5" loc="(190,90)" name="Hex Digit Display"/>
    <comp lib="0" loc="(340,460)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(250,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp loc="(350,250)" name="SUM4B"/>
    <comp lib="0" loc="(160,220)" name="Tunnel">
      <a name="facing" val="east"/>
      <a name="width" val="4"/>
      <a name="label" val="A"/>
    </comp>
    <comp lib="5" loc="(400,90)" name="Hex Digit Display"/>
    <comp lib="0" loc="(210,370)" name="Constant">
      <a name="facing" val="north"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="6" loc="(312,71)" name="Text">
      <a name="text" val="="/>
      <a name="font" val="SansSerif plain 36"/>
    </comp>
    <comp lib="0" loc="(350,110)" name="Tunnel">
      <a name="facing" val="east"/>
      <a name="width" val="4"/>
      <a name="label" val="D"/>
    </comp>
    <comp lib="0" loc="(180,400)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
      <a name="appear" val="right"/>
      <a name="bit0" val="3"/>
      <a name="bit1" val="2"/>
      <a name="bit2" val="1"/>
      <a name="bit3" val="0"/>
    </comp>
    <comp lib="0" loc="(450,220)" name="Tunnel">
      <a name="width" val="4"/>
      <a name="label" val="B"/>
    </comp>
    <comp lib="0" loc="(390,110)" name="Tunnel">
      <a name="facing" val="east"/>
      <a name="width" val="4"/>
      <a name="label" val="U"/>
    </comp>
    <comp lib="0" loc="(400,170)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp loc="(330,380)" name="SUM4B"/>
    <comp lib="0" loc="(250,110)" name="Tunnel">
      <a name="facing" val="east"/>
      <a name="width" val="4"/>
      <a name="label" val="B"/>
    </comp>
    <comp lib="0" loc="(170,220)" name="Splitter">
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
    <comp lib="0" loc="(410,460)" name="Tunnel">
      <a name="width" val="4"/>
      <a name="label" val="U"/>
    </comp>
    <comp lib="5" loc="(260,90)" name="Hex Digit Display"/>
    <comp lib="0" loc="(400,460)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
      <a name="appear" val="right"/>
      <a name="bit0" val="3"/>
      <a name="bit1" val="2"/>
      <a name="bit2" val="1"/>
      <a name="bit3" val="0"/>
    </comp>
    <comp lib="0" loc="(130,420)" name="Constant">
      <a name="facing" val="north"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="0" loc="(180,110)" name="Tunnel">
      <a name="facing" val="east"/>
      <a name="width" val="4"/>
      <a name="label" val="A"/>
    </comp>
  </circuit>
  <circuit name="FA">
    <a name="circuit" val="FA"/>
    <a name="clabel" val="FA"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(280,190)" to="(340,190)"/>
    <wire from="(170,180)" to="(200,180)"/>
    <wire from="(180,210)" to="(210,210)"/>
    <wire from="(200,230)" to="(230,230)"/>
    <wire from="(280,190)" to="(280,260)"/>
    <wire from="(260,240)" to="(350,240)"/>
    <wire from="(270,250)" to="(300,250)"/>
    <wire from="(380,180)" to="(410,180)"/>
    <wire from="(380,250)" to="(410,250)"/>
    <wire from="(180,210)" to="(180,220)"/>
    <wire from="(280,270)" to="(300,270)"/>
    <wire from="(200,180)" to="(200,190)"/>
    <wire from="(330,260)" to="(350,260)"/>
    <wire from="(200,190)" to="(200,230)"/>
    <wire from="(180,250)" to="(230,250)"/>
    <wire from="(280,260)" to="(280,270)"/>
    <wire from="(250,200)" to="(270,200)"/>
    <wire from="(170,260)" to="(280,260)"/>
    <wire from="(170,220)" to="(180,220)"/>
    <wire from="(200,190)" to="(210,190)"/>
    <wire from="(270,200)" to="(270,250)"/>
    <wire from="(270,170)" to="(270,200)"/>
    <wire from="(180,220)" to="(180,250)"/>
    <wire from="(270,170)" to="(340,170)"/>
    <comp lib="0" loc="(170,180)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="A"/>
    </comp>
    <comp lib="0" loc="(410,180)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="S"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(380,250)" name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(380,180)" name="XOR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(330,260)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(410,250)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Ci+1"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(170,220)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="B"/>
    </comp>
    <comp lib="1" loc="(260,240)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(170,260)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Ci"/>
    </comp>
    <comp lib="1" loc="(250,200)" name="XOR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
  </circuit>
  <circuit name="SUM4B">
    <a name="circuit" val="SUM4B"/>
    <a name="clabel" val="sumador 4b"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(100,80)" to="(290,80)"/>
    <wire from="(290,170)" to="(290,180)"/>
    <wire from="(290,70)" to="(290,80)"/>
    <wire from="(440,160)" to="(440,180)"/>
    <wire from="(140,110)" to="(180,110)"/>
    <wire from="(340,160)" to="(340,190)"/>
    <wire from="(170,70)" to="(170,100)"/>
    <wire from="(260,150)" to="(260,240)"/>
    <wire from="(110,170)" to="(110,200)"/>
    <wire from="(380,70)" to="(380,160)"/>
    <wire from="(380,190)" to="(470,190)"/>
    <wire from="(270,150)" to="(300,150)"/>
    <wire from="(280,120)" to="(280,160)"/>
    <wire from="(190,160)" to="(210,160)"/>
    <wire from="(240,150)" to="(260,150)"/>
    <wire from="(160,160)" to="(160,210)"/>
    <wire from="(190,110)" to="(190,160)"/>
    <wire from="(290,170)" to="(300,170)"/>
    <wire from="(380,160)" to="(390,160)"/>
    <wire from="(110,200)" to="(250,200)"/>
    <wire from="(240,160)" to="(250,160)"/>
    <wire from="(110,150)" to="(120,150)"/>
    <wire from="(110,170)" to="(120,170)"/>
    <wire from="(200,190)" to="(340,190)"/>
    <wire from="(350,70)" to="(350,120)"/>
    <wire from="(370,90)" to="(370,150)"/>
    <wire from="(190,110)" to="(320,110)"/>
    <wire from="(380,170)" to="(380,190)"/>
    <wire from="(110,70)" to="(110,150)"/>
    <wire from="(100,80)" to="(100,160)"/>
    <wire from="(200,90)" to="(370,90)"/>
    <wire from="(200,170)" to="(200,190)"/>
    <wire from="(200,70)" to="(200,90)"/>
    <wire from="(170,150)" to="(170,240)"/>
    <wire from="(450,150)" to="(450,240)"/>
    <wire from="(170,100)" to="(270,100)"/>
    <wire from="(350,150)" to="(350,240)"/>
    <wire from="(180,150)" to="(210,150)"/>
    <wire from="(420,150)" to="(450,150)"/>
    <wire from="(70,210)" to="(160,210)"/>
    <wire from="(280,160)" to="(300,160)"/>
    <wire from="(330,150)" to="(350,150)"/>
    <wire from="(370,150)" to="(390,150)"/>
    <wire from="(420,160)" to="(440,160)"/>
    <wire from="(140,70)" to="(140,110)"/>
    <wire from="(180,110)" to="(180,150)"/>
    <wire from="(250,160)" to="(250,200)"/>
    <wire from="(320,70)" to="(320,110)"/>
    <wire from="(100,160)" to="(120,160)"/>
    <wire from="(290,180)" to="(440,180)"/>
    <wire from="(150,150)" to="(170,150)"/>
    <wire from="(330,160)" to="(340,160)"/>
    <wire from="(380,170)" to="(390,170)"/>
    <wire from="(150,160)" to="(160,160)"/>
    <wire from="(200,170)" to="(210,170)"/>
    <wire from="(270,100)" to="(270,150)"/>
    <wire from="(280,120)" to="(350,120)"/>
    <comp lib="0" loc="(320,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp loc="(240,150)" name="FA"/>
    <comp lib="0" loc="(380,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(70,210)" name="Pin">
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S4"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(450,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(140,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(170,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(110,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp loc="(330,150)" name="FA"/>
    <comp lib="0" loc="(470,190)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Cin"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(350,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(350,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp loc="(150,150)" name="FA"/>
    <comp lib="0" loc="(170,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(260,240)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp loc="(420,150)" name="FA"/>
    <comp lib="0" loc="(200,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="A0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(290,70)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="B3"/>
      <a name="labelloc" val="north"/>
    </comp>
  </circuit>
  <circuit name="CORREGIR">
    <a name="circuit" val="CORREGIR"/>
    <a name="clabel" val="corr"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(480,150)" to="(510,150)"/>
    <wire from="(500,130)" to="(530,130)"/>
    <wire from="(310,140)" to="(340,140)"/>
    <wire from="(370,130)" to="(400,130)"/>
    <wire from="(370,150)" to="(400,150)"/>
    <wire from="(400,200)" to="(450,200)"/>
    <wire from="(480,210)" to="(530,210)"/>
    <wire from="(510,170)" to="(530,170)"/>
    <wire from="(480,190)" to="(500,190)"/>
    <wire from="(480,130)" to="(500,130)"/>
    <wire from="(400,90)" to="(400,130)"/>
    <wire from="(510,150)" to="(510,170)"/>
    <wire from="(400,150)" to="(400,200)"/>
    <wire from="(370,140)" to="(450,140)"/>
    <wire from="(400,90)" to="(530,90)"/>
    <wire from="(500,130)" to="(500,190)"/>
    <comp lib="1" loc="(450,140)" name="AND Gate">
      <a name="facing" val="west"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(310,140)" name="Pin">
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Cn"/>
    </comp>
    <comp lib="0" loc="(530,130)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S3"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(530,90)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="C3"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(530,170)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S2"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(530,210)" name="Pin">
      <a name="facing" val="west"/>
      <a name="tristate" val="false"/>
      <a name="label" val="S1"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(450,200)" name="AND Gate">
      <a name="facing" val="west"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(340,140)" name="OR Gate">
      <a name="facing" val="west"/>
      <a name="size" val="30"/>
      <a name="inputs" val="3"/>
    </comp>
  </circuit>
</project>
